package com.kwq.shixi.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Test {
    private Integer id;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date timeOne;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8")

    private Date timeTwo;
    @DateTimeFormat(pattern = "HH:mm:ss")
    private Date timeThree;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8")

    private Date timeFour;

    private Double priceOne;

    private Long priceTwo;

    private Float priceThree;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getTimeOne() {
        return timeOne;
    }

    public void setTimeOne(Date timeOne) {
        this.timeOne = timeOne;
    }

    public Date getTimeTwo() {
        return timeTwo;
    }

    public void setTimeTwo(Date timeTwo) {
        this.timeTwo = timeTwo;
    }

    public Date getTimeThree() {
        return timeThree;
    }

    public void setTimeThree(Date timeThree) {
        this.timeThree = timeThree;
    }

    public Date getTimeFour() {
        return timeFour;
    }

    public void setTimeFour(Date timeFour) {
        this.timeFour = timeFour;
    }

    public Double getPriceOne() {
        return priceOne;
    }

    public void setPriceOne(Double priceOne) {
        this.priceOne = priceOne;
    }

    public Long getPriceTwo() {
        return priceTwo;
    }

    public void setPriceTwo(Long priceTwo) {
        this.priceTwo = priceTwo;
    }

    public Float getPriceThree() {
        return priceThree;
    }

    public void setPriceThree(Float priceThree) {
        this.priceThree = priceThree;
    }
}
